<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<link rel="stylesheet" 
 href="<%=request.getContextPath() %>/resources/css/back/commentdetail.css" type="text/css">
</head>
<body>
	<div class="commentinfo"><strong>产品名称：</strong><span>${commentDto.productName }</span><br></div>
	<div class="commentinfo"><strong>产品图片：</strong><img src="${commentDto.mainImage }"> <br></div>
	<br>
	<div class="commentinfo"><strong>用户名：</strong><span>${commentDto.username }</span><br></div>
	<div class="commentinfo"><strong>评论类型：</strong>
	<c:if test="${commentDto.type eq 1}"><span>好评</span></c:if>
	<c:if test="${commentDto.type eq 2}"><span>一般</span></c:if>
	<c:if test="${commentDto.type eq 3}"><span>差评</span></c:if>	
	<br></div>
	<div class="commentinfo"><strong>评论内容：</strong><span style="width: 600px">${commentDto.comment }</span><br></div>		
	<div class="commentinfo"><strong>评论图片：</strong><img src="${commentDto.pic1 }"><br></div>
	<div class="commentinfo"><strong>最后一次更新：</strong>${commentDto.updateTime }<span></span></div>
	<br>
	<button class="btn btn-primary">回复</button>
</body>
</html>